package com.chilli.cosima.common;

public class BussinessException extends Exception
{
    private static final long serialVersionUID = 2389814039707860895L;
    
    private String errorCode = "";
    
    public BussinessException(String message,String errorCode)
    {
        super(message);
        setErrorCode(errorCode);
    }
    
    public void setErrorCode(String errorCode)
    {
        this.errorCode = errorCode;
    }

    public String getErrorCode()
    {
        return errorCode;
    }
    
    
}
